home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Kit PC World De Ampliacion De Windows 95
/
Kit PC World de ampliacion de Windows 95.iso
/
internet
/
sweeper
/
samples
/
olecon~1
/
controls
/
template
/
makeauto
< prev
next >
Wrap
Text File
|
1995-11-30
|
2KB
|
83 lines
#=------------------------------------------------------------------------=
# Makefile [Auto Template]
#=------------------------------------------------------------------------=
# Copyright 1995 Microsoft Corporation. All Rights Reserved.
#
# THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
# ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
# PARTICULAR PURPOSE.
#=--------------------------------------------------------------------------=
#
# builds a Template Automation DLL
#
TARGETOS=BOTH
APPVER=4.0
MKDEP=mkdep
MKTYPLIB=mktyplib
VERSIONHDR=dwinvers.h
!include <win32.mak>
cflags=$(cflags) -Oi
!if "$(NODEBUG)"!=""
CTL_LIBS=$(winlibs) ..\..\lib\CTLFWR32.LIB uuid2.lib olepro32.lib ole32.lib oleaut32.lib uuid.lib oldnames.lib
!else
cdebug=$(cdebug) -DDEBUG
CTL_LIBS=$(winlibs) ..\..\lib\CTLFWD32.LIB uuid2.lib olepro32.lib ole32.lib oleaut32.lib uuid.lib oldnames.lib
!endif
SERVERNAME=Autotmpl
OBJS=Guids.Obj\
autoipsv.Obj\
$(SERVERNAME).Obj\
$(SERVERNAME).res
all: dep $(SERVERNAME).dll
$(SERVERNAME).dll: $(VERSIONHDR) $(SERVERNAME).TLB $(OBJS) makefile
$(link) $(lflags) $(ldebug) -DLL -entry:DllMain$(DLLENTRY) $(OBJS) -out:$*.dll $(CTL_LIBS) -def:$(SERVERNAME).def
.cpp.obj:
$(cc) $(cflags) $(cvars) $(cdebug) -I..\..\Include $<
.c.obj:
$(cc) $(cflags) $(cvars) $(cdebug) -I..\..\Include $<
$(SERVERNAME).TLB : $(SERVERNAME).ODL
$(MKTYPLIB) $(_MKTYPLIBFLAGS) -nologo -cpp_opt "/C /E /D__MKTYPLIB__ -nologo" -h $(SERVERNAME)Interfaces.H -o Errors.LOG -tlb $(SERVERNAME).TLB $(SERVERNAME).ODL
$(SERVERNAME).res : $(SERVERNAME).TLB $(SERVERNAME).RC
$(rc) $(rcflags) -fo $(SERVERNAME).Res $(SERVERNAME).Rc
Dep: $(SERVERNAME).TLB
@echo Generating Dependancies
$(MKDEP) -n -P ./ -I. -I..\..\Include -s .obj *.c* > dep.mak
$(VERSIONHDR):
@echo You should edit this file for your own version information
copy ..\..\framewrk\$(VERSIONHDR)
clean:
del *.obj
del *.dll
del *.tlb
del *.res
del *.exp
del *.mak
del *.log
del *.lib
#=----------------------------=
# Include Dependency Makefile
#
!IF EXIST(dep.mak)
!include dep.mak
!ENDIF